package com.labi.designpattern.sale;

import org.springframework.stereotype.Service;

@Service
public class VipStrategyServiceImpl implements  CalcStrategySerivce {
    @Override
    public String type() {
        return "vip";
    }

    @Override
    public double getPrice(double fee) {
        System.out.println("进入vip策略");
        return fee *0.8;
    }
}
